﻿'    DotNetIRCD - An IRC Daemon written in VB.Net
'    Copyright (C) 2012 GeorgeBush
'
'    This program is free software: you can redistribute it and/or modify
'    it under the terms of the GNU General Public License as published by
'    the Free Software Foundation, either version 2 of the License, or
'    (at your option) any later version.
'
'    This program is distributed in the hope that it will be useful,
'    but WITHOUT ANY WARRANTY; without even the implied warranty of
'    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
'    GNU General Public License for more details.
'
'    You should have received a copy of the GNU General Public License
'    along with this program. If not, see <http://www.gnu.org/licenses/>.

''' <summary>
''' This Module holds the list of accepted Service Commands
''' </summary>
<HideModuleName()> _
Module ServiceCommandsModule

    ''' <summary>
    ''' Structure to hold the definition of a Service Command
    ''' </summary>
    Public Structure ServiceCommand

        ''' <summary>
        ''' The Command
        ''' </summary>
        Public Command As String

        ''' <summary>
        ''' The Command's Syntax
        ''' </summary>
        Private Syntax() As String

        ''' <summary>
        ''' A Description of the Command
        ''' </summary>
        Public Description() As String

        ''' <summary>
        ''' Create a new instance of the ServiceCommand Structure
        ''' </summary>
        ''' <param name="Command">The Command</param>
        ''' <param name="Syntax">The Command's Syntax</param>
        ''' <param name="Description">A Description of the Command</param>
        Sub New(ByVal Command As String, ByVal Syntax() As String, ByVal Description() As String)

            Me.Command = Command
            Me.Syntax = Syntax
            Me.Description = Description

        End Sub

    End Structure

    ''' <summary>
    ''' The list of accepted Service Commands
    ''' </summary>
    Public ServiceCommands() As ServiceCommand = _
        {New ServiceCommand("SQLINE",
                            {""},
                            {""}),
         New ServiceCommand("SVS2MODE",
                            {""},
                            {""}),
         New ServiceCommand("SVS2SNO",
                            {""},
                            {""}),
         New ServiceCommand("SVSFLINE",
                            {""},
                            {""}),
         New ServiceCommand("SVSJOIN",
                            {""},
                            {""}),
         New ServiceCommand("SVSKILL",
                            {""},
                            {""}),
         New ServiceCommand("SVSLUSERS",
                            {""},
                            {""}),
         New ServiceCommand("SVSMODE",
                            {""},
                            {""}),
         New ServiceCommand("SVSMOTD",
                            {""},
                            {""}),
         New ServiceCommand("SVSNICK",
                            {""},
                            {""}),
         New ServiceCommand("SVSNLINE",
                            {""},
                            {""}),
         New ServiceCommand("SVSNOLAG",
                            {""},
                            {""}),
         New ServiceCommand("SVSNOOP",
                            {""},
                            {""}),
         New ServiceCommand("SVSO",
                            {""},
                            {""}),
         New ServiceCommand("SVSPART",
                            {""},
                            {""}),
         New ServiceCommand("SVSSILENCE",
                            {""},
                            {""}),
         New ServiceCommand("SVSSNO",
                            {""},
                            {""}),
         New ServiceCommand("SVSWATCH",
                            {""},
                            {""}),
         New ServiceCommand("SWHOIS",
                            {""},
                            {""}),
         New ServiceCommand("UNSQLINE",
                            {""},
                            {""})}

End Module